<template>
  <div class="sales-volume">
    <h1>统计栏</h1>
    <span class="dan_w">个</span>
    <div class="numberRun">
      <div class="number_span">1</div>
      <div class="number_span">2</div>
      <div class="number_span">3</div>
      <div class="number_span">4</div>
      <div class="number_span">5</div>
      <div class="number_span">6</div>
    </div>
    <i class="moves1a"></i>
  </div>
</template>

<script>
export default {
    data() {
      return {

      }
    }
}
</script>

<style lang="less" scoped>
.sales-volume { background: url(~@/assets/images/count/count2/bg_a.png) no-repeat center top; width: 254px;  height: 94px; z-index: 9; padding: 0px 20px; background-size:100% 100%; position: relative;}
.sales-volume h1 { font-size: 15px; color: #fff; text-align: center; line-height: 36px; font-weight: normal; padding-left: 4px; margin-bottom: 0;}
.sales-volume i { display: block; position: absolute; bottom: -6px; left: 3%;  background: url(~@/assets/images/count/count2/sy_xl_bg-light.png) no-repeat; width: 90px; height: 18px;}
.sales-volume > span {
  font-size: 14px;
  padding: 0 10px;
}
.dan_w {
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 20px;
  color: #f8eb16;
  font-size: 18px;
}
.numberRun{
  display: flex;
  margin: 10px 0;
  justify-content: center;
}
.number_span {
  background: url(~@/assets/images/count/count2/bg_num.png);
  background-size: 100% 100%;
  font-family: Digiface;
  width: 30px;
  height: 35px;
  font-size: 24px;
  color: #f8eb16;
  text-align: center;
  margin: 0 2px;
}

.moves1a { animation: 2s linear 0s normal infinite running moves1a;}
@keyframes moves1a {
  0% {
    left: 0%;
    opacity: 0.4;
  }
  30% {
    left: 30%;
    opacity: 1;
  }
  60% {
    left: 60%;
    opacity: 0.6;
  }
  100% {
    left: calc(100% - 90px);
    opacity: 0;
  }
}
</style>